<?php
require_once 'Junction/Clause.php';

/**
 * Define how to create SQL queries.
 *
 */
interface Junction_Query {
	
	/**
	 * @param String $name
	 */
	public function bindTable($name);
	
	/**
	 * @param String $column
	 * @param unknown_type $value
	 */
	public function bindColumn($column, $value = null);
	
	/**
	 * @param Junction_Clause $builder
	 */
	public function bindClause(Junction_Clause $builder);
	
	/**
	 * @return String
	 */
	public function toSql();
	
	/**
	 * @return array
	 */
	public function getParameters();
	
	/**
	 * @return String
	 */
	public function __toString();
}
?>